home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
man
/
cmds.fmt
/
tftp.man
< prev
next >
Wrap
Text File
|
1989-06-15
|
4KB
|
133 lines
TFTP User Commands TFTP
NNAAMMEE
tftp - trivial file transfer program
SSYYNNOOPPSSIISS
ttffttpp [ host ]
DDEESSCCRRIIPPTTIIOONN
_T_f_t_p is the user interface to the Internet TFTP (Trivial
File Transfer Protocol), which allows users to transfer
files to and from a remote machine. The remote _h_o_s_t may be
specified on the command line, in which case _t_f_t_p uses _h_o_s_t
as the default host for future transfers (see the ccoonnnneecctt
command below).
CCOOMMMMAANNDDSS
Once _t_f_t_p is running, it issues the prompt ttffttpp>> and recog-
nizes the following commands:
ccoonnnneecctt _h_o_s_t-_n_a_m_e [ _p_o_r_t ]
Set the _h_o_s_t (and optionally _p_o_r_t) for transfers. Note
that the TFTP protocol, unlike the FTP protocol, does
not maintain connections betweeen transfers; thus, the
_c_o_n_n_e_c_t command does not actually create a connection,
but merely remembers what host is to be used for
transfers. You do not have to use the _c_o_n_n_e_c_t command;
the remote host can be specified as part of the _g_e_t or
_p_u_t commands.
mmooddee _t_r_a_n_s_f_e_r-_m_o_d_e
Set the mode for transfers; _t_r_a_n_s_f_e_r-_m_o_d_e may be one of
_a_s_c_i_i or _b_i_n_a_r_y. The default is _a_s_c_i_i.
ppuutt _f_i_l_e
ppuutt _l_o_c_a_l_f_i_l_e _r_e_m_o_t_e_f_i_l_e
ppuutt _f_i_l_e_1 _f_i_l_e_2 ... _f_i_l_e_N _r_e_m_o_t_e-_d_i_r_e_c_t_o_r_y
Put a file or set of files to the specified remote file
or directory. The destination can be in one of two
forms: a filename on the remote host, if the host has
already been specified, or a string of the form
_h_o_s_t:_f_i_l_e_n_a_m_e to specify both a host and filename at
the same time. If the latter form is used, the host-
name specified becomes the default for future
transfers. If the remote-directory form is used, the
remote host is assumed to be a _U_N_I_X machine.
ggeett _f_i_l_e_n_a_m_e
ggeett _r_e_m_o_t_e_n_a_m_e _l_o_c_a_l_n_a_m_e
ggeett _f_i_l_e_1 _f_i_l_e_2 ... _f_i_l_e_N
Get a file or set of files from the specified _s_o_u_r_c_e_s.
_S_o_u_r_c_e can be in one of two forms: a filename on the
remote host, if the host has already been specified, or
a string of the form _h_o_s_t:_f_i_l_e_n_a_m_e to specify both a
Sprite v1.0 April 20, 1986 1
TFTP User Commands TFTP
host and filename at the same time. If the latter form
is used, the last hostname specified becomes the
default for future transfers.
qquuiitt Exit _t_f_t_p. An end of file also exits.
vveerrbboossee
Toggle verbose mode.
ttrraaccee
Toggle packet tracing.
ssttaattuuss
Show current status.
rreexxmmtt _r_e_t_r_a_n_s_m_i_s_s_i_o_n-_t_i_m_e_o_u_t
Set the per-packet retransmission timeout, in seconds.
ttiimmeeoouutt _t_o_t_a_l-_t_r_a_n_s_m_i_s_s_i_o_n-_t_i_m_e_o_u_t
Set the total transmission timeout, in seconds.
aasscciiii
Shorthand for "mode ascii"
bbiinnaarryy
Shorthand for "mode binary"
?? [ _c_o_m_m_a_n_d-_n_a_m_e ... ]
Print help information.
BBUUGGSS
Because there is no user-login or validation within the _T_F_T_P
protocol, the remote site will probably have some sort of
file-access restrictions in place. The exact methods are
specific to each site and therefore difficult to document
here.
Sprite v1.0 April 20, 1986 2